package com.tolls;

public class Test {


    public static void main(String[] args) {

//      MyThread thread = new MyThread();
//      thread.start();
        System.out.println("主线程id"+Thread.currentThread().getId());

        MyThread thread1 = new MyThread("thread1");

        thread1.start();

        MyThread thread2 = new MyThread("thread2");
        thread2.run();


    }

}
